package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.system.api.factory.RemoteFileFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 文件服务
 * 
 * @author ruoyi
 */
@FeignClient(contextId = "remoteMetricsService", value = ServiceNameConstants.METRICS_SERVICE, fallbackFactory = RemoteFileFallbackFactory.class)
public interface RemoteMetricsService
{
    @GetMapping(value = "/health")
    public String health();
}
